﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaseHelper.Data
{

    public class DBInfo
    {
        public DBType SourceType;
        public string IP;
        public string Port;
        public string DBName;
        public string User;
        public string Pass;
        public string Path;
        public string CharSet = "utf8";
        public string FixTableName;
        public bool IsDebugSql;
        public bool KeepLive = false;

        public DBInfo Clone()
        {
            return (DBInfo)this.MemberwiseClone();
        }
    }

    public enum DBType
    {
        MYSQL, MSSQL, ORACLE,ACCESS
    }

}
